import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule, ReactiveFormsModule } from "@angular/forms";
import { NgZorroAntdModule } from "ng-zorro-antd";
import { DispatchPlanRoutingModule } from "./dispatch-plan-routing.module";

import { SlbDispatchPlanComponent } from './slb-dispatch-plan/slb-dispatch-plan.component';
import { HwhDispatchPlanComponent } from './hwh-dispatch-plan/hwh-dispatch-plan.component';
import { SltDispatchPlanComponent } from './slt-dispatch-plan/slt-dispatch-plan.component';
import { SltDispatchPlanMonthComponent } from './slt-dispatch-plan/slt-dispatch-plan-tabs/month/slt-dispatch-plan-month.component';
import { SltDispatchPlanOverviewComponent } from './slt-dispatch-plan/slt-dispatch-plan-tabs/slt-dispatch-plan-overview/slt-dispatch-plan-overview.component';


import { NgxEchartsModule } from "ngx-echarts";
import { MngReportComponent } from './mng-report/mng-report.component';
import {DispatchPlanService} from "./dispatch-plan.service";
import { SlbDispatchPlanAddComponent } from './slb-dispatch-plan/slb-dispatch-plan-add.component';
import { HwhDispatchPlanAddComponent } from './hwh-dispatch-plan/hwh-dispatch-plan-add.component';
import { SltDispatchPlanDetailComponent } from './slt-dispatch-plan/slt-dispatch-plan-detail/slt-dispatch-plan-detail.component';
import { MngReportDetailComponent } from './mng-report/mng-report-detail/mng-report-detail.component';

import { DetailTable1Component } from './mng-report/mng-report-detail/detail-table1/detail-table1.component';
import { DetailTableQhqComponent } from './mng-report/mng-report-detail/detail-table-qhq/detail-table-qhq.component';
import { DetailTableQxqComponent } from './mng-report/mng-report-detail/detail-table-qxq/detail-table-qxq.component';
import { DetailTableQsComponent } from './mng-report/mng-report-detail/detail-table-qs/detail-table-qs.component';
import {StatisticalChartComponent} from './mng-report/mng-report-detail/statistical-chart/statistical-chart-component';

import { MathAbsPipe } from './math-abs-pipe';
import { YearPlanComponent } from './year-plan/year-plan.component';
import { MonthPlanComponent } from './month-plan/month-plan.component';
import { YearPlanService } from './year-plan/year-plan.service';

import {NgxExtendedPdfViewerModule} from "ngx-extended-pdf-viewer";
import { SubYearPlanComponent } from './sub-year-plan/sub-year-plan.component';
import { SubYearPlanAddComponent } from './sub-year-plan/sub-year-plan-add.component';
import {yearPlanAddComponent} from './year-plan/slt-dispatch-plan-year-add.component';
@NgModule({
    declarations: [
        SlbDispatchPlanComponent,
        HwhDispatchPlanComponent,
        SltDispatchPlanComponent,
        SltDispatchPlanMonthComponent,
        SltDispatchPlanOverviewComponent,
        MngReportComponent,
        SlbDispatchPlanAddComponent,
        HwhDispatchPlanAddComponent,
        SltDispatchPlanDetailComponent,
        MngReportDetailComponent,
        DetailTable1Component,
        DetailTableQhqComponent,
        DetailTableQxqComponent,
        DetailTableQsComponent,
        StatisticalChartComponent,
        MathAbsPipe,
        YearPlanComponent,
        MonthPlanComponent,
        SubYearPlanComponent,
        SubYearPlanAddComponent,
        yearPlanAddComponent
    ],
    imports: [
        CommonModule,
        FormsModule,
        ReactiveFormsModule,
        NgZorroAntdModule,
        NgxEchartsModule,
        DispatchPlanRoutingModule,
        NgxExtendedPdfViewerModule
    ],
    providers: [
        DispatchPlanService,
        YearPlanService
    ]
})
export class DispatchPlanModule {
}
